package com.igeekhome.wzgl.service;

import com.igeekhome.wzgl.entity.AdministratorEntity;

import java.util.List;

public interface IAdministrator {
    int regist(AdministratorEntity re);

    int isCanUse(String account);

    AdministratorEntity login(AdministratorEntity ad);

    int addAdministrator(AdministratorEntity admin);

    int delete(int id);

    int updata(AdministratorEntity ad);

    List<AdministratorEntity> search(int id);

    List<AdministratorEntity> page();

    AdministratorEntity getById(int id);
}
